Filter hook '{$type}_upload_iframe_src'
in WP Core File wp-admin/includes/media.php at line 729
Description
Filters the upload iframe source URL for a specific media type. The dynamic portion of the hook name, `$type`, refers to the type of media uploaded. Possible hook names include: - `image_upload_iframe_src` - `media_upload_iframe_src`
Occurrences
Filename |
Line Number |
wp-admin/includes/media.php |
729 |
Parameters
Type |
Name |
Description |
string |
$upload_iframe_src |
The upload iframe source URL. |
PHP Doc
/**
* Filters the upload iframe source URL for a specific media type.
*
* The dynamic portion of the hook name, `$type`, refers to the type
* of media uploaded.
*
* Possible hook names include:
*
* - `image_upload_iframe_src`
* - `media_upload_iframe_src`
*
* @since 3.0.0
*
* @param string $upload_iframe_src The upload iframe source URL.
*/